package io.adminboot.repository.extend;

import io.adminboot.entity.ScheduleJob;
import io.adminboot.entity.ScheduleJobLog;
import io.adminboot.repository.ScheduleJobMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScheduleJobExtMapper extends ScheduleJobMapper {

	List<ScheduleJob> selectAll();

	List<ScheduleJobLog> selectList(@Param("beanName") String beanName, @Param("offsetStart") int offsetStart,
                                    @Param("rowCount") int rowCount);

	int count(@Param("beanName") String beanName);

	void batchDeleteByIds(@Param("ids") List<Long> ids);

	int batchUpdateStatus(@Param("ids") Long[] ids, @Param("status") int status);

}
